using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    public partial class OtherSystem
    {
        public OtherSystem()
        {
            this.OtherSystemsFacilityDetails = new List<OtherSystemsFacilityDetail>();
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [Required]
        [StringLength(255)]
        public string Name { get; set; }

        public string Description { get; set; }
        public bool ProvidesFacilityUniqueIdentifier { get; set; }
        
        public virtual List<OtherSystemsFacilityDetail> OtherSystemsFacilityDetails { get; set; }
    }
}
